package com.zjj.day0504.hashset;

import java.util.HashSet;
import java.util.Set;

/**
 * @author zhoujunjie1
 * @desc TODO
 * @date 2025/5/5
 */
public class aiodjl {
    public static void main(String[] args) {
        String str = "aiodjl;hriWFUADJSV123UEHiowfjnivowe";
        Set<Character> letter= new HashSet<>();
        for (char c : str.toCharArray()) {
            if (Character.isLetter(c)) {
                letter.add(c);
            }
        }
        int count = letter.size();
        System.out.println("不重复的字母数量为"+count);
    }
}
